package com.qding.park.manager.pojo;

import java.util.Date;

import com.qding.park.manager.pojo.enums.RecordStatusEnum;

/**
 * @ClassName TbMonthRent
 * @Description TODO(月租续费po)
 * @author Administrator
 * @Date 2016年8月26日 上午10:06:29
 * @version 1.0.0
 */
public class TbMonthRent {
	/**
	 * @Field @id : TODO(这里用一句话描述这个类的作用)
	 */
	private String id;
	
	/**
	 * @Field @userID : TODO(用户ID)
	 */
	private int userID;
	
	
	/**
	 * 手机号
	 */
	private String tel;
	
	private String bjuserid;
	
	/**
	  * @Fields bjOrderId : TODO（北京订单号）
	  */
	private String bjOrderId;
	
	/**
	 * @Field @parkID : TODO(车场id)
	 */
	private int parkID;
	
	/**
	 * @Field @parkName : TODO(车场名称)
	 */
	private String parkName;
	
	/**
	 * @Field @carNum : TODO(车牌)
	 */
	private String carNum;
	
	/**
	  * @Fields parkOrderId : TODO（车场订单号）
	  */
	private String parkOrderId;
	/**
	 * @Field @oldExpiredate : TODO(原月卡到期时间)
	 */
	private Date oldExpiredate;
	
	/**
	 * @Field @expiredate : TODO(续费后的月卡到期时间)
	 */
	private Date expiredate;
	
	/**
	 * @Field @buyMonths : TODO(续费月数)
	 */
	private int buyMonths;
	
	/**
	 * @Field @cost : TODO(应缴费金额 单位为分)
	 */
	private int cost;
	
	/**
	  * @Fields realPayCost : TODO（实际缴费金额 单位为分）
	  */
	private int realPayCost;
	
	/**
	 * @Field @tradeID : TODO(续费交易ID,回写:支付完成后，回写到该字段)
	 */
	private String tradeID;
	
	/**
	 * @Field @remark : TODO(明细，例：交5个月送1个月)
	 */
	private String remark;
	
	/**
	 * @Field @status : TODO()
	 */
	private int status;
	
	/**
	 * @Field @create_date : TODO(创建时间)
	 */
	private Date create_date=new Date();
	
	/**
	 * @Field @update_date : TODO(更新时间)
	 */
	private Date update_date;
	
	/**
	  * @Fields payTime : TODO（缴费时间）
	  */
	private Date payTime;
	
	/**
	  * @Fields pay_channel : TODO（支付渠道）
	  */
	
	private  int pay_channel;
	
	/**
	  * @Fields orderSource : TODO（订单来源）
	  */
	private int orderSource;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getOrderSource() {
		return orderSource;
	}

	public void setOrderSource(int orderSource) {
		this.orderSource = orderSource;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getParkID() {
		return parkID;
	}

	public void setParkID(int parkID) {
		this.parkID = parkID;
	}

	public int getPay_channel() {
		return pay_channel;
	}

	public void setPay_channel(int pay_channel) {
		this.pay_channel = pay_channel;
	}

	public String getParkName() {
		return parkName;
	}

	public void setParkName(String parkName) {
		this.parkName = parkName;
	}

	public String getCarNum() {
		return carNum;
	}

	public void setCarNum(String carNum) {
		this.carNum = carNum;
	}

	public Date getOldExpiredate() {
		return oldExpiredate;
	}

	public void setOldExpiredate(Date oldExpiredate) {
		this.oldExpiredate = oldExpiredate;
	}

	public Date getExpiredate() {
		return expiredate;
	}

	public void setExpiredate(Date expiredate) {
		this.expiredate = expiredate;
	}

	public int getBuyMonths() {
		return buyMonths;
	}

	public void setBuyMonths(int buyMonths) {
		this.buyMonths = buyMonths;
	}

	public int getCost() {
		return cost;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}

	public String getTradeID() {
		return tradeID;
	}

	public void setTradeID(String tradeID) {
		this.tradeID = tradeID;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getStatus() {
		return status;
	}

	public String getBjuserid() {
		return bjuserid;
	}

	public void setBjuserid(String bjuserid) {
		this.bjuserid = bjuserid;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public String getBjOrderId() {
		return bjOrderId;
	}

	public void setBjOrderId(String bjOrderId) {
		this.bjOrderId = bjOrderId;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}
	
	
	public String getParkOrderId() {
		return parkOrderId;
	}

	public void setParkOrderId(String parkOrderId) {
		this.parkOrderId = parkOrderId;
	}


	public int getRealPayCost() {
		return realPayCost;
	}

	public void setRealPayCost(int realPayCost) {
		this.realPayCost = realPayCost;
	}


	public enum StatusEnum{
		
		INVALID( 0,"无效未支付"),
		EFFICIENCY(1,"有效已支付");
		
		
		private int status;
		
		private String desc;
		
		private StatusEnum(int status,String desc){
			this.status=status;
			this.desc=desc;
		}

		public int getStatus() {
			return status;
		}

		public void setStatus(int status) {
			this.status = status;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}
		
		
		
		
	}


	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}
	
	
}
